﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="DetailTypes.aspx.cs" Inherits="Auditors_DetailTypes" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
    <script>
        function GoTo(page, id, orderid) {
            window.location.href = page + "?CompanyID=" + id + "&orderid=" + orderid;
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        onrowdatabound="GridView1_RowDataBound">
        <Columns>
            <asp:BoundField DataField="TypeName" HeaderText="名字" SortExpression="TypeName" />
            <asp:BoundField DataField="EnglishName" HeaderText="英文名" SortExpression="EnglishName" />
            <asp:BoundField DataField="TypeProviderID" HeaderText="提供者" SortExpression="TypeProviderID" />

        </Columns>
    </asp:GridView>
    <table>
        <tr>
            <td>
                名字:
            </td>
            <td>
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            </td>
            <td>
                英文名:
            </td>
            <td>
                <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
            </td>
            <td>
                提供者
            </td>
            <td>
                <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="DropDownList1_SelectedIndexChanged">
                </asp:DropDownList>
                <asp:DropDownList ID="DropDownList2" runat="server">
                </asp:DropDownList>
            </td>
            <td>
                <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" />
            </td>
        </tr>
    </table>
       <input type="button" value="返回" onclick='GoTo("EnterCompanyDetail.aspx","<% =Request.QueryString["CompanyID"]%>","<% =Request.QueryString["orderID"]%>");' />
</asp:Content>
